from google.appengine.ext import db
from models.invoice import Invoice
class State(db.Model):

	@staticmethod
	def lastInvoice():
		return Invoice.all().order('-created').get()